package brwarner 
{
	import flash.events.Event;
	import flash.geom.Point;
	/**
	 * ...
	 * @author Brook Jensen
	 */
	public class GridEvent extends Event 
	{
		private var _tileX:Number, _tileY:Number;
		
		public function get TileX( ):Number { return _tileX; }
		public function get TileY( ):Number { return _tileY; }
		public function get Tile( ):Point { return new Point( TileX, TileY ); }
		
		//Event constants
		public static const GRID_CLICK:String = "onGridClick";
		public static const GRID_STATUS_CHANGED:String = "onStatusChange";
		public static const GRID_NEED_ALPHA:String = "onNeedAlpha";
		
		public function GridEvent( name:String, tileX:Number, tileY:Number ) 
		{
			super(name);
			_tileX = tileX; _tileY = tileY;;
		}
		
	}

}